package com.cht.sys;

import java.util.ArrayList;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService()
public class LDAPWS {
	
	@WebMethod()
	public String getEmployeeNumber(String uid) {
		return LDAP.getEmployeeNumber(uid);
	}
	@WebMethod()
	public ArrayList getEmployeeNumberByName(String name) {
		return LDAP.getEmployeeNumberByName(name);
	}
	@WebMethod()
	public ArrayList getDirectoryInfo(String directoryDN,String directoryValue) {
		return LDAP.getDirectoryInfo(directoryDN, directoryValue);
	}
	@WebMethod()
	public String getDirectoryNameByValue(String value) {
		return LDAP.getDirectoryNameByValue(value);
	}
	@WebMethod()
	public String getEmail(String employeeNumber) {
		return LDAP.getEmail(employeeNumber);
	}
	@WebMethod()
	public String getMobileNum(String employeeNumber) {
		return LDAP.getMobileNum(employeeNumber);
	}
	@WebMethod()
	public String getName(String employeeNumber) {
		return LDAP.getName(employeeNumber);
	}
	@WebMethod()
	public String getOU(String employeeNumber) {
		return LDAP.getOU(employeeNumber);
	}
	@WebMethod()
	public String getOUCN(String employeeNumber) {
		return LDAP.getOUCN(employeeNumber);
	}
	@WebMethod()
	public String getTelephoneNumber(String employeeNumber) {
		return LDAP.getTelephoneNumber(employeeNumber);
	}
	@WebMethod()
	public String getUtf8cn(String employeeNumber) {
		return LDAP.getUtf8cn(employeeNumber);
	}
}
